﻿using System;

namespace SampleCode.VirtualFS
{
    /// <summary>
    /// Arguments for 'File removed' event
    /// </summary>
    public class FsFileRemovedEventArgs : EventArgs
    {
        /// <summary>
        /// A ctor
        /// </summary>
        /// <param name="fileName"></param>
        internal FsFileRemovedEventArgs(string fileName)
        {
            FileName = fileName;
        }

        /// <summary>
        /// Full path to the File, that was removed
        /// </summary>
        public string FileName { get; private set; }
    }

    /// <summary>
    /// A delegate for 'File removed' event
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void FsFileRemovedEventHandler(object sender, FsFileRemovedEventArgs e);
}
